<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>cyh</title>
    <script src="font/iconfont.js"></script>
    <style>
        body,h2,ul,p{
            margin: 0;
            padding: 0;
        }
        .title{
            position: fixed;
            width: 100%;
            height: 150px;
            display: flex;
            z-index: 4;
            border-bottom: 3px solid rgb(244,244,244);
            margin-top: -250px;
            background-color: #fff;
        }
        .title h2{
            margin-left: 440px;
            margin-top: 40px;
            font-size: 50px;
        }
        .title_jt{
            width: 60px;
            height: 140px;
        }
        .invent{
            margin-left: 250px;
            width: 100px;
            height: 150px;
        }
        .title_sm{
            position: relative;
            bottom: 15px;
            left: 8px;
            width: 70px;
        }
        .invent p{
            position: relative;
            bottom: 50px;
            left: 5px;
            font-size: 23px;
        }
       .second{
            position: relative;
            top: -46px;
            left: 40px;
            background-color: rgb(245,246,248);
            width: 900px;
            height: 100px;
            border-radius: 50px;
            margin-top: 250px;
       }
       .title_ss{
            position: relative;
            left: 330px;
            bottom: 25px;
            width: 60px;
       }
       .second p{
            position: absolute;
            bottom: 25px;
            left: 420px;
            font-size: 42px;
            color: rgb(153, 153, 153);
            opacity: .6;
       }
       .third{
           margin-top: 5px;
           height: 80px;
           display: flex;
           border-bottom: 30px solid rgb(251, 251, 251);
       }
       .third p{
          font-size: 42px;
          margin-left: 80px;
          color: rgb(180, 180, 180);
       } 
       a{
           text-decoration: none;
       }
       .under{
           width: 100%;
           height:1400px ;
           list-style: none;
       }
       .under li{
            list-style: none;
            display: flex;
            height: 150px;
       }
       .blue{
           margin-top: 30px;
           margin-left: 80px;
           margin-right: 50px;
           width: 100px;
           height: 100px;
           background-color: rgb(41,167,254);
           border-radius: 15px;  
       }
       .green{
        margin-top: 30px;
            margin-left: 80px;
           margin-right: 50px;
           width: 100px;
           height: 100px;
           background-color: rgb(15, 210, 178);
           border-radius: 15px; 
       }
      .icon{
            margin-left: 14px;
            margin-top: -24px;
            width: 70px;
       } 
        .under p{
            margin-top: 55px;
            font-size: 40px;
            color: #000;
       }
        .navi{
            height: 150px;
            list-style: none;
            position: fixed;
            left: 0;
            bottom: 0;
            width: 100%;
            background-color: #fff;
            z-index: 9;
            display: flex;
            background-color: rgb(247, 247, 247);
       }
       .navi>li{
           width: 25%;
           text-align: center;
       }
       .icon2{
            width: 80px;
            height: 100px;
            vertical-align: 20px;
            fill:currentColor;
            overflow: hidden;
            margin-bottom: 15px;
            margin-right: 20px;
       }
       .navi a{
           text-decoration: none;
       }
       .navi p{
           font-size: 40px;
           margin-right: 18px;
           margin-top: -50px;
           color: rgb(102,102,102);
       } 
       #nowspan{
           margin-left: 250px;
           font-size: 40px;
       }

    </style>
</head>
<body onLoad="getnow()">
    <div class="title">
        <h2>首页</h2>
        <svg class="title_jt" aria-hidden="true">
            <use xlink:href="#icon-xiajiantou"></use>
        </svg>
        <div class="invent">
            <svg class="title_sm" aria-hidden="true">
                <use xlink:href="#icon-saoma"></use>
            </svg>
            <p>邀请码</p>
        </div>
    </div>

    <a href="#">
        <div class="second">
            <svg class="title_ss" aria-hidden="true">
                <use xlink:href="#icon-sousuo"></use>
            </svg>
            <p>找资料</p>
        </div>
    </a>
    <div class="third">
        <a href="project1-index.html"><p>常用</p></a>
        <a href="#"><p>关注</p></a>
        <a href="project6.html"><p>活动</p></a>
        <a href="project4.html"><p>微读书</p></a>
        <a href="#"><p>知视频</p></a>
    </div> 
    <div class="under">
        <a href="#">
            <li>
                <div class="blue">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fangzi1"></use>
                    </svg>
                </div>
                    <p>常月华</p>
            </li>
        </a>
        <a href="#">
            <li><div class="blue">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-yingyong"></use>
                    </svg>
                </div>
                    <p>19001011027</p>
            </li>
        </a>
        <a href="#">
            <li>
                <div class="green">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-zimu"></use>
                    </svg>
                </div>
                    <p>知问</p>
            </li>
        </a>
        <a href="project3.html">
            <li>
                <div class="green">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-kecheng"></use>
                    </svg>
                </div>
                    <p>我的课程</p>
            </li>
        </a>
        <a href="#">
            <li>
                <div class="green">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-rili2"></use>
                    </svg>
                </div>
                    <p>教师课表</p>
            </li>
        </a>
        <a href="#">
            <li>
                <div class="green">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-rili2"></use>
                    </svg>
                </div>
                    <p>学生课表</p>
            </li>
        </a>
        <a href="#">
            <li>
                <div class="green">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-shijuan"></use>
                    </svg>
                </div>
                    <p>考试</p>
            </li>
        </a> 
        <a href="#">
            <li>
                <div class="green">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-bili"></use>
                    </svg>
                </div>
                    <p>大雅相似度</p>
            </li>
        </a> 
        <span id="nowspan"></span>
    </div>

    <ul class="navi">
        <li>
            <a href="#">
                <svg class="icon2" aria-hidden="true">
                    <use xlink:href="#icon-home"></use>
                </svg>
                <p>首页</p>
            </a>
        </li>
        <li>
            <a href="./project2.html">
                <svg class="icon2" aria-hidden="true">
                    <use xlink:href="#icon-xiaoxi0"></use>
                </svg>
                <p>消息</p>
            </a>
        </li>
        <li>
            <a href="#">
                <svg class="icon2" aria-hidden="true">
                    <use xlink:href="#icon-biji"></use>
                </svg>
                <p>笔记</p>
            </a>
        </li>
        <li>
            <a href="project5.html">
                <svg class="icon2" aria-hidden="true">
                    <use xlink:href="#icon-wo1"></use>
                </svg>
                <p>我</p>
            </a>
        </li>
    </ul> 
<!-- 1 -->
<script type="text/javascript">
           function getnow(){undefined
           //1、获得当前时间，格式化时间
            var now=new Date(); 
            var year=now.getFullYear(); 
            var month=now.getMonth()+1;
            if(month<10){undefined
              month="0"+month;
            }  
            var date=now.getDate();
            if(date<10){undefined
               date="0"+date;
            }
            var hour=now.getHours();
            if(hour<10){undefined
               hour="0"+hour;
           }
            var minute=now.getMinutes();
            if(minute<10){undefined
               minute="0"+minute;
           } 
            var second=now.getSeconds();
            if(second<10){undefined
               second="0"+second;
           }
           var nowstr=year+"年"+month+"月"+date+"日  "+hour+":"+minute+":"+second;
           //alert(nowstr);
           //2、显示时间 html
           //获得标签对象
           var nowspan=document.getElementById("nowspan");
           nowspan.innerHTML=nowstr;
           //3、使时间动起来
           setTimeout("getnow()", 1000);
}
</script>
</body>
</html>